﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;
namespace Server_NhaSach.DataTransferObject
{
    [DataContract]
    public class PhieuKHTraHangDTO
    {
        #region "Khai bao cac bien"
        private string _makhth;
        
        private string _manv;
        
        private string _makho;
       
        private string _makh;
       
        private string _nguoitra;
        
        private string _masothue;
        
        private string _diachi;
        
        private DateTime _ngaytra;
        
        private string _chungtutra;
       
        private string _ghichuth;
        
        private double _tongthanhtien;
        
        #endregion
        #region "Khai bao cac thuoc tinh"
        [DataMember]
        public string Makhth
        {
            get { return _makhth; }
            set { _makhth = value; }
        }
        [DataMember]
        public string Manv
        {
            get { return _manv; }
            set { _manv = value; }
        }
        [DataMember]
        public string Makho
        {
            get { return _makho; }
            set { _makho = value; }
        }
        [DataMember]
        public string Makh
        {
            get { return _makh; }
            set { _makh = value; }
        }
        [DataMember]
        public string Nguoitra
        {
            get { return _nguoitra; }
            set { _nguoitra = value; }
        }
        [DataMember]
        public string Masothue
        {
            get { return _masothue; }
            set { _masothue = value; }
        }
        [DataMember]
        public string Diachi
        {
            get { return _diachi; }
            set { _diachi = value; }
        }
        [DataMember]
        public DateTime Ngaytra
        {
            get { return _ngaytra; }
            set { _ngaytra = value; }
        }
        [DataMember]
        public string Chungtutra
        {
            get { return _chungtutra; }
            set { _chungtutra = value; }
        }
        [DataMember]
        public string Ghichuth
        {
            get { return _ghichuth; }
            set { _ghichuth = value; }
        }
        [DataMember]
        public double Tongthanhtien
        {
            get { return _tongthanhtien; }
            set { _tongthanhtien = value; }
        }
        #endregion
        #region ""Khai bao constructor
        public PhieuKHTraHangDTO(){}
        public PhieuKHTraHangDTO(string makhth,string manv,string makho,string maKH,string nguoitra,string masothue,string diachi,DateTime ngaytra,string chungtutra,string ghichu,double tongthanhtien)
        {
            this.Makhth=makhth;
            this.Manv=manv;
            this.Makho=makho;
            this.Makh = maKH;
            this.Nguoitra=nguoitra;
            this.Masothue=masothue;
            this.Diachi=diachi;
            this.Ngaytra=ngaytra;
            this.Chungtutra=chungtutra;
            this.Ghichuth=ghichu;
            this.Tongthanhtien=tongthanhtien;
        }
        public PhieuKHTraHangDTO(PhieuKHTraHangDTO phieuth)
        {
            this.Makhth=phieuth.Makhth;
            this.Manv=phieuth.Manv;
            this.Makho=phieuth.Makho;
            this.Makh = phieuth.Makh;
            this.Nguoitra=phieuth.Nguoitra;
            this.Masothue=phieuth.Masothue;
            this.Diachi=phieuth.Diachi;
            this.Ngaytra=phieuth.Ngaytra;
            this.Chungtutra=phieuth.Chungtutra;
            this.Ghichuth=phieuth.Ghichuth;
            this.Tongthanhtien=phieuth.Tongthanhtien;
        }
        #endregion
    }
}